<?php
/* @var $this LocationController */
/* @var $model Location */

$this->breadcrumbs=array(
	'Locations'=>array('index'),
	$model->name,
);
?>

	<table width="100%" border="0" cellpadding="0" cellspacing="0">
        <tr class="texteSimple">
          <td>&nbsp;</td>
        </tr>			
        <tr>
          <td align="center" class="titresIndex">Gestion Page d'accueil</td>
        </tr>
        <tr>
          <td>
			<table width="100%" border="0" cellpadding="0" cellspacing="0" id="pageFooter">         
	        <tr>
	          <td>
				<?php echo CHtml::link('Nouveau home','#',array('class'=>'add-button')); ?>
				<div class="add-form" style="display:none">
				<?php echo $this->renderPartial('_form', array('model'=>$model)); ?>
				</div>
			  </td>
			</tr>
	        <tr>
	          <td>	
				<?php $this->widget('zii.widgets.grid.CGridView', array(
					'id'=>'event-grid',
					'dataProvider'=>$model->search(),
						
					'columns'=>array(
						'NameFr',
						'NameEn',
						array(
							'class'=>'CButtonColumn',
							'template' => '{update} {delete}',
						),
					),
				)); ?>
			  </td>
			</tr>
			</table>
		  </td>
		</tr>
		</table>	